package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "角色权限")
@TableName("role_permission")
public class RolePermission {
    @ApiModelProperty(value = "角色ID",required = true)
    private Integer roleId;
    @ApiModelProperty(value = "权限ID",required = true)
    private Integer permissionId;
}
